Also, as far as LAX is concerned, flights to/from Canada are considered "domestic." All customs etc is done on the Canadian side (in both directions.)
So your baggage should be checked directly to YVR. And, on your return, you will not need to clear customs at LAX, that will be done in Canada.