Quick function question

Can anyone explain why the +3 in this function is changed into a negative 3?  Here is the function:

(f - g)(x) = f(x) - g(x) = 2x^2 - 1 - (5x + 3)
                                 =2x^2   - 1 - 5x - 3   <----- not sure why this is now -3
                                 =2x^2 -5x -4 is the answer

Thanks
wayy2beAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
- (5x + 3) is the same as -1 times (5x + 3).  That is equal to - 5x - 3.
0
wayy2beAuthor Commented:
So that is not the order of operations but its assumed that there is a -1 in front of the parenthesis?
0
Dave BaldwinFixer of ProblemsCommented:
By definition, a '-' in front of a value is the same as multiplying by -1.  The () groups the 5x + 3 as a single value so the '-' is applied to both when you remove the ().
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

JohnBusiness Consultant (Owner)Commented:
The order of operations is the same in your example as the -1( ) is -( ) as noted by Dave.
0
Dave BaldwinFixer of ProblemsCommented:
0
wayy2beAuthor Commented:
Thanks :)
0
wayy2beAuthor Commented:
I may have a lot more questions.  Preparing for an important math exam and I have been out of school for 25 years.  Very rusty indeed!
0
JohnBusiness Consultant (Owner)Commented:
Get a first year algebra book as this stuff is covered nicely in such a book. I have a bunch in the basement from university days.
0
Dave BaldwinFixer of ProblemsCommented:
I agree with John.  When I went back to college (a long time ago), I picked up several of the 'Made Simple' math books.  They were great.  They had all the rules for algebra or geometry listed in the front or the back of the books where you could easily see how they related.  That site I linked to, http://www.algebrahelp.com/ , looks pretty good too.
0
wayy2beAuthor Commented:
Thanks guys, much appreciated!
0
Dave BaldwinFixer of ProblemsCommented:
You're welcome, glad to help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Math / Science

From novice to tech pro — start learning today.