# Thread:

1. ## Solving for x with a trig function

How do I solve for x when f = 4(-cos^2(x) + sin^2(x) + sin(x))?

I can regroup the function in various ways, and I factored out the 4 already, but I don't know how get the function so that I can solve for x... If you get me started on the right path, or hint at an identity that I can use, that would help. Thanks.

2. Originally Posted by Maziana
How do I solve for x when f = 4(-cos^2(x) + sin^2(x) + sin(x))?

I can regroup the function in various ways, and I factored out the 4 already, but I don't know how get the function so that I can solve for x... If you get me started on the right path, or hint at an identity that I can use, that would help. Thanks.
$-cos^2(x) = -(1-sin^2(x)) = sin^2(x)-1$

$<br /> 4(sin^2(x)-1+sin^2(x)+sin(x)) = 4(2sin^2(x)+sin(x)-1)$

This is now a quadratic in sin(x)

3. f(x) = 4(-cos^2(x) + sin^2(x) + sin(x)) = 4(2sin^2(x)+sin(x)-1),

y = f(x) = 4(2sin^2(x)+sin(x)-1), or 4(2sin^2(x)+sin(x)-1) = 0 if you want to solve for the roots.

USE QUADRATIC FORMULA: solve for x then, . . . . see graph of the function

Attached Thumbnails
{"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": 2, "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": 15, "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.8926571607589722, "perplexity_flag": "middle"}