# Thread:

1. ## Tangent from a point to a curve?

I have an important exam on Monday and I stumbled upon this problem.
Problem: Calculate the angle (with tan(x) function) between the tangent lines drawn from (-4,1) point to a graph y^2=2*x.

I know that derivative of function represents its tangent line equation, however I cannot seem to implement the given point into the equation since it's out of the domain. Is the correct derivative:
Since the given equation represents a non "1-1" function, divide the graph into two separate graphs (y=sqrt(2*x) and y=-sqrt(2*x)) then dy=1/sqrt(2*x) and dy=-1/sqrt(2*x). I know I did something wrong but not sure what.

I hope somebody can help me. Thanks in advance

2. ## Re: Tangent from a point to a curve?

"dy=1/sqrt(2*x)" is wrong. I think you mean dx/dy=1/sqrt(2*x)

You have to find the points where the tangents touch the function yourself. Name these points, find equations which relate the slope of the tangent (at this point) to the condition that the tangent has to go through your point.

It should look similar to this:

3. ## Re: Tangent from a point to a curve?

$y^2 = 2x$. Differentiating both sides with respect to x, $2y \frac{dy}{dx} = 2 \Rightarrow \frac{dy}{dx} = \frac{1}{y}$.

This means that for a given $(x,y)$ on the function, the slope of the tangent line at that point is $\frac{1}{y}$. Since the tangent line also goes through (-4,1) we can write out an equation for the slope:

$\frac{1}{y} = \frac{y-1}{x-(-4)} = \frac{y-1}{x+4} \Rightarrow x+4 = y(y-1)$

We know that $x = \frac{y^2}{2}$, so

$\frac{y^2}{2} + 4 = y(y-1)$. Solve the quadratic.

4. ## Re: Tangent from a point to a curve?

First take a derivate of your function, it will be y'=1/sqrt(2*x)
Now write a tangent eg. over two points: T1(-4,1), T2(y2,x2) - point where tangent line touches our curve:
y2=√(2*x2 ), y-1= √2*x2 -1/(x2+4)(x+4)

Now, we know that √2*x2 -1/(x2+4) has to be equal 1/sqrt(2*x2) , and from that we can find x2=8.
y2=√2*×2_ =4.
Now u have two points to define ur tangent.
Same way find the other tangent and angle between them.
Hope this is correct.

5. ## Re: Tangent from a point to a curve?

Your suggestions were correct. After 10+mins I finally got to the correct answer. It took me that long cuz I was going the long way. While on that topic - I know two possible solutions to calculate the required tan(x).
First one is to use tan(theta)=slope of the corresponding function and then use the identity tan(x+y)=(tan(x)+tan(y))/(1-tan(x)*tan(y)).

The other one is to find coordinates of the dots that are part of right angle triangle (dots being (-4,1), circle and one tangent line intersection (2,-2) and radius perpendicular to that point and other tangent line intersection (32/7,22/7)).

My question is - is there a shorter way?

After all the calculations, I got the correct answer which is arctan(6/7) if anyone is wondering.
Thanks Imo and richard1234
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 7, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9245774745941162, "perplexity_flag": "middle"}