1. Prove this identity

I'm not sure how to prove these expressions true...the question is:

Prove that each expression is an identity for all values for which it is defined.

$
\frac {sin\theta} {sin\theta+cos\theta} = \frac {tan\theta} {1+tan\theta}
$

and,

$
\frac {sin^2\theta+2cos\theta-1} {sin^2+3cos\theta-3} = \frac {1} {1-sec\theta}
$

Thank you!

2. $\dfrac{\sin x}{\sin x+\cos x}$

divide the numerator and denominator by cosx

$\dfrac{\frac{\sin x}{\cos x}}{\frac{\sin x+\cos x}{\cos x}}$

For the other question, show some effort. Where exactly are you stuck?

3. Oh, wow, that was so obvious hahaha
Thanks!!

Any ideas on the second one?

4. $\dfrac{\sin^2 x+2\cos x-1}{\sin^2 x+3\cos x-3}$

$= \dfrac{1-\cos^2 x+2\cos x-1}{1-\cos^2 x+3\cos x-3}$

$= \dfrac{-\cos^2 x+2\cos x}{-\cos^2 x+3\cos x-2}$

$=\dfrac{-\cos x(cos x-2)}{-(\cos^2 x-3\cos x+2)}$

$=\dfrac{\cos x(cos x-2)}{(\cos^2 x-3\cos x+2)}$

factorize the denominator and change all cosx into secx..

5. That makes sense now, thank you!