document.write( "Question 154830: The lines px+4y-2=0 and 2x-y+p=0 are perpendicular. Find the value of p. \n" ); document.write( "
Algebra.Com's Answer #114017 by Earlsdon(6294)\"\" \"About 
You can put this solution on YOUR website!
If the lines are perpendicular, then their slopes are negative reciprocals.
\n" ); document.write( "Let's put the two equations into the slope-intercept form: y = mx+b
\n" ); document.write( "First equation:
\n" ); document.write( "\"px%2B4y-2+=+0\" Subtract px from both sides of the equation.
\n" ); document.write( "\"4y-2+=+-px\" Add 2 to both sides.
\n" ); document.write( "\"4y+=+-px%2B2\" Finally, divide both sides by 4.
\n" ); document.write( "\"y+=+%28-p%2F4%29x%2B2%2F4\" Simplify.
\n" ); document.write( "\"y+=+%28-p%2F4%29x%2B1%2F2\" Here, the slope is \"m+=+%28-p%2F4%29\"
\n" ); document.write( "Second equation:
\n" ); document.write( "\"2x-y%2Bp+=+0\" Add y to both sides.
\n" ); document.write( "\"2x%2Bp+=+y\" or
\n" ); document.write( "\"y+=+2x%2Bp\" Here, the slope is \"m+=+2\"
\n" ); document.write( "The negative reciprocal of 2 is \"-1%2F2%29\" and this should equal the slope of the first equation, \"%28-p%2F4%29\", so...
\n" ); document.write( "\"%28-p%2F4%29+=+-1%2F2\" Simplify and solve for p. Multiply both sides by -4.
\n" ); document.write( "\"p+=+4%2F2\" Simplify.
\n" ); document.write( "\"p+=+2\"
\n" ); document.write( "Check, are the slopes negative reciprocals?
\n" ); document.write( "\"m+=+%28-p%2F4%29\" Substitute p = 2.
\n" ); document.write( "\"m+=+%28-2%2F4%29\" Simplify.
\n" ); document.write( "\"m+=+-1%2F2\" ...and this is the negative reciprocal of 2.
\n" ); document.write( "
\n" ); document.write( "
\n" );