Please help me find the answer to this question. Thanks.
What is the equation of a tangent to the graph of a function $y=x-\frac{1}{x^2}$ which is parallel to the line $y=3x$?
Update: found the slope of the line, $3$.
According to one of the answers $\frac{dy}{dx}=3$, but how? If the slope $=3$, shouldn't the derivative be $0$.
I don't understand the "parallel to" part. I know how to find the slope of the tangent, but do not know what is meant by "the equation of a tangent to the graph".
HINT:
$$\frac{dy}{dx}=1+\frac2{x^3}$$ which needs to be $=3$
This will give us the value of $x, x_1$(say) and consequently the value of $y, y_1$
Now the equation of the required tangent will be $$\frac{y-y_1}{x-x_1}=3$$